# from django.http import JsonResponse
# from qdapp.models import *
# from django.core.exceptions import ValidationError
#
# def add_event(request):
#     eid=request.POST.get('eid','')
#     name=request.POST.get('name','')
#     limit=request.POST.get('limit','')
#     status=request.POST.get('status','')
#     address=request.POST.get('address','')
#     start_time=request.POST.get('start_time','')
#     if eid=='' or name=='' or limit=='' or status=='' or address=='' or start_time=='':
#         return JsonResponse({'status':10021,'message':'parameter error'})












